package com.gengzp.common.model.nacos.dto;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Map;

/**
 * @ClassName SearchOnlineInstanceDto
 * @Description
 * @Author gengzp
 * @Date 2025/6/1 19:50
 */
@Data
public class SearchOnlineInstanceDto implements Serializable {

    @Serial
    private static final long serialVersionUID = 6583891331961281111L;

    private String clusterName;
    private boolean enabled;
    private boolean ephemeral;
    private boolean healthy;
    private int instanceHeartBeatInterval;
    private int instanceHeartBeatTimeout;
    private String instanceId;
    private String ip;
    private int ipDeleteTimeout;
    private Map<String, String> metadata;
    private int port;
    private String serviceName;
    private int weight;

}
